package com.tm.chargecar.service;

import com.tm.chargecar.entity.DogcartRepairEntity;
import com.tm.chargecar.result.Result;
import com.tm.chargecar.utils.PageUtil;
import com.tm.chargecar.vo.DogcartRepairVo;

import java.util.List;

/**
 * @author wangSang
 * @create 2022-08-24 9:52
 *
 * 设备管理保修记录
 */
public interface DogcartRepairService {
    /**
     *  设备维修条件查询
     * @param dogcartRepairVo
     * @return
     */
    PageUtil queryDogcartRepair(DogcartRepairVo dogcartRepairVo);

    /**
     * 设备修改
     * @param dogcartRepairEntity
     * @return
     */
    Result updateDogcartRepair(DogcartRepairEntity dogcartRepairEntity);

    /**
     * 设备删除
     * @param id
     * @return
     */
    Result deleteDogcartRepair(Integer id);

    /**
     * 设备新增
     * @param dogcartRepairEntity
     * @return
     */
    Result addDogcartRepair(DogcartRepairEntity dogcartRepairEntity);
}
